@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
    <div class="ibox-content" style="padding: 0;">
        <div style="display: none">
            <input type="hidden" id="doctorValue" value="${user}">
            <input type="hidden" id="reach" value="">
            <input type="hidden" id="isDorj" value="yss">
            <input type="hidden" id="menuName" value="医生-今日看诊">
        </div>
        <div class="numStatistics">
            <div><span>今日新建预约</span>（<span style="color: #333333" id="all">0</span>）</div>
            <div><span>今日病例书写</span>（<span style="color: #ff7e00" id="non-arrival">0</span>）</div>
            <div><span>今日随访人数</span>（<span style="color: #ff7e00" id="yi-arrived">0</span>）</div>
            <div id="zoom" style="display: none">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/open.png" alt="">
                <img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/shrink.png" alt="" style="display: none"><span>条件展开</span>
            </div>
        </div>
        <div class="timeButton">
            <div class="timeBox">
                <div>
                    <button type="button" class="btn" onclick="DoctorLooked.timeChange('-')" style="margin-right: -4px;border-right: none"><span class="glyphicon glyphicon-backward"></span></button>
                    <div style="display: inline-block;background: white;vertical-align: middle;border:1px solid #cccccc;">
                        <span class="glyphicon glyphicon-calendar" style="left: 7px;"></span>
                        <input autocomplete="off" type="text" id="startTime" style="border:none;height: 30px;outline: none;width: 100px;" onclick="laydate({istiem:true,format:'YYYY-MM-DD',choose:checkDate})">
                    </div>
                    <button type="button" class="btn" onclick="DoctorLooked.timeChange('+')" style="margin-left: -4px;border-left: none"><span class="glyphicon glyphicon-forward"></span></button>
                </div>
                <div style="display: flex">
                    <div>
                        <span>性别：</span>
                        <select id="customerSex" name="customerSex" style="width: 80px;padding-left: 5px;" onchange="DoctorLooked.search()">
                            <option value="">请选择</option>
                            <option value="1">男</option>
                            <option value="2">女</option>
                        </select>
                    </div>
                    <div style="margin-left: 20px;">
                        <span>年龄：</span>
                        <select id="customerAgeStart" name="customerAgeStart" style="width: 80px;padding-left: 5px;"  onchange="DoctorLooked.search()" >
                            <option value="">请选择</option>
                            <option value="0">0</option>
                            <option value="10">10</option>
                            <option value="20">20</option>
                            <option value="30">30</option>
                            <option value="40">40</option>
                            <option value="50">50</option>
                            <option value="60">60</option>
                            <option value="70">70</option>
                            <option value="80">80</option>
                            <option value="90">90</option>
                            <option value="100">100</option>
                        </select>
                        <span>-</span>
                        <select id="customerAgeEnd" name="customerAgeEnd" style="width: 80px;padding-left: 5px;"  onchange="DoctorLooked.search()">
                            <option value="">请选择</option>
                            <option value="0">0</option>
                            <option value="10">10</option>
                            <option value="20">20</option>
                            <option value="30">30</option>
                            <option value="40">40</option>
                            <option value="50">50</option>
                            <option value="60">60</option>
                            <option value="70">70</option>
                            <option value="80">80</option>
                            <option value="90">90</option>
                            <option value="100">100</option>
                        </select>
                    </div>
                    <div style="margin-left: 20px;">
                        <span>医生：</span>
                        <select type="text" id="doctor" name="doctor" style="width: 120px;" onchange="DoctorLooked.search()">
                            <option value="">--请选择医生--</option>
                            @for(str in doctorList){
                            <option value="${str.doctor}">${str.doctor}</option>
                            @}
                    </select>
                    </div>
                </div>
            </div>
            <div class="buttonBox">
                <div>
                    <button type="button" class="btn" onclick="DoctorLooked.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
                    <button type="button" class="btn" onclick="DoctorLooked.search()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/refresh.png"><span>刷新</span></button>
                    <button type="button" class="btn" onclick="screenTable()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/screen.png"><span>显示列</span></button>
                    @if(shiro.hasPermission("/super_no")){
                    <button type="button" class="btn" onclick="DoctorLooked.imported()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>导入</span></button>
                    @}
                </div>
            </div>
        </div>
        <div class="tableBox"><#table id="DoctorLookedTable"/></div>
    </div>
</div>
<script src="${ctxPath}/static/modular/doctorLooked/doctorLooked.js?v=20200628"></script>
<script src="${ctxPath}/static/modular/tcCenter/consultant/doctorSearchContent.js?v=20200628"></script>
@}